<include file="__PUBLIC__/header.html" />
	<title>首页 - {$const.webname}</title>
<include file="__PUBLIC__/top.html" />
	<!-- 轮播图开始 -->
	<div class="w1180 h500 auto of rel f20 fm" id="indexs">
		<div class="pic w1180 h500 bdc">
			<list from="$slide" name="s">
				<a class="abs <if value='$hd.list.s.index neq 1'>dn</if>" href="{|U('Index/content',array('aid'=>$s['aid']))}" title="{$s.title}"><img src="__ROOT__/{$s.big}"/></a>
			</list>
		</div>
	</div>
	<!-- 轮播图结束 -->
	<!-- 内容开始 -->
	<div class="w1180 auto mt20 fix p5">
		<!-- 左侧开始 -->
		<div class="f w860 bsd1 mr20 l bgwhite">
			<div class="lh40 of fm">
				<div id="order">
					<a href="{|U('index',array('order'=>1))}" class="lh40 f14 dib w100 tc l black">最新推荐</a>
					<a href="{|U('index',array('order'=>2))}" class="lh40 f14 dib w100 tc l black bgwhite-1 bsd1">热门排行</a>
					<a href="{|U('index',array('order'=>3))}" class="lh40 f14 dib w100 tc l black bgwhite-1 bsd1">五星精选</a>
					<a href="{|U('index',array('order'=>4))}" class="lh40 f14 dib w100 tc l black bgwhite-1 bsd1">随便看看</a>
				</div>
				<script type="text/javascript">
					var order='{$_GET["order"]}';
					if(order) $('#order a').removeClass('bgwhite-1').eq(order-1).siblings().addClass('bgwhite-1');
				</script>
				<p class="l lh40 dib bgwhite-1 w460 bsd1 rel tr">
					<span class="dib mr10">
						<html xmlns:wb="http://open.weibo.com/wb">
						&nbsp;<wb:follow-button uid="1955170471" type="red_2" width="136" class="abs t10 r0" height="24" ></wb:follow-button>
					</span>
				</p>
			</div>
			<list from="$art" name="a">
				<div class="p20 of">
					<div class="l w300 h200 mr20 of">
						<if value="$a.medium">
							<a href="{|U('content',array('aid'=>$a['aid'],'cid'=>$a['cid']))}"><img src="__ROOT__/{$a.medium}" alt="" class="w300 h200" /></a>
						<else/>
							<img src="__TPL__/img/noimg.jpg" alt="" class="w300 h200" />
						</if>
					</div>
					<div class="l w450 p10">
						<h3><a class="black fm f16" href="{|U('content',array('aid'=>$a['aid'],'cid'=>$a['cid']))}">{$a.title}</a><span class="red"> {$a.flag}</span>
							<if value="$a.styleName">
								<span class="{$a.styleName}">{$a.tname}</span>
							</if>
						</h3>
						<div class="mt10">
							<span class="dib w90 h14 star f0">
								<b class="dib h14 f0" style="width:{$a.star|getStarPct}%"></b>
							</span>
							<span class="f14 orange">{$a.star}</span>
						</div>
						<div class="mt10 fm f14">
							{$a.cont}
						</div>
						<p class="mt10 fm"><a class="f14" href="{|U('content',array('aid'=>$a['aid'],'cid'=>$a['cid']))}">阅读全文...</a></p>
						<div class="mt10 gray rel tr">
							<p class="abs">{$a.addtime|date_before}</p> 
							<p class="dib r0 t0 w300 tr">
								<i class="icon-eye-open icon-large mr5 gray3" title="查看数"></i>{$a.hits}
								<i class="icon-comment icon-large mr5 gray3" title="评论数"></i>{$a.comments}
								<i class="icon-heart icon-large mr5 gray3" title="喜欢人数"></i>{$a.enjoys}
							</p>
						</div>
					</div>
				</div>
			</list>

			<!-- 分页开始 -->
			<div class="page cl mt10 mb10">
				{$page}
			</div>
			<!-- 分页结束 -->
		</div>
		<!-- 左侧结束 -->
		<!-- 右侧开始 -->
		<div class="f w300 l">
			<div class="bsd2 bde bgwhite">
				<div class="lh30 pl20 fm b rel mt10">热门频道 <b class="abs bgblue h30 w5 f0 l-5 t0">1</b></div>
				<div class="p10">
					<hotCate row="10" hits="1">
						<a href="{$c.url}" class="dib bgwhite-2 blue p5 rad2 a1 m5">{$c.cname}</a>
					</hotCate>
				</div>
			</div>
			
			<div class="bsd2 bde mt20 bgwhite">
				<div class="lh30 pl20 fm b rel mt10">热门活动 <b class="abs bgblue h30 w5 f0 l-5 t0">1</b> <a href="" class="abs r10 t0 n fs black">更多活动+</a></div>
				<div class="p10">
					<hotArticle cid='16' row="10">
						<a href="{$a.urls}" class="p10 dib"><img class="w260 h120" src="__ROOT__/{$a.medium}" alt="" /></a>
					</hotArticle>
				</div>
			</div>

			<!-- <div class="bsd2 bde mt20 bgwhite">
				<div class="lh30 pl20 fm b rel mt10">新片场服务 <b class="abs bgblue h30 w5 f0 l-5 t0">1</b> <a href="" class="abs r10 t0 n fs black">更多服务+</a></div>
				<div class="p10 tc fm">
					<a href="" class="white p5 dib pct80 a2 rad2 bgblue1 f16 mt5">作品收录到v电影</a>
					<a href="" class="white p5 dib pct80 a2 rad2 bgblue1 f16 mt5">个人作品页面展示</a>
					<a href="" class="white p5 dib pct80 a2 rad2 bgblue1 f16 mt5">作品全网发行推广</a>
					<a href="" class="white p5 dib pct80 a2 rad2 bgblue1 f16 mt5">品牌娱乐内容营销</a>
				</div>
			</div> -->

			<div class="bsd2 bde mt20 bgwhite">
				<div class="lh30 pl20 fm b rel mt10">精彩评论 <b class="abs bgblue h30 w5 f0 l-5 t0">1</b> </div>
				<comment row='10'>
					<div class="pl10 pr10">
						<a href="{$com.urls}" class="p10 dib black b f12">{$com.title}</a>
						<div class="p10 bgwhite-1 rad3 rel mt5">
							<i class="iconTopSanjiao"></i>
							<a href="{$com.urls}" class="black">{$com.content|mb_substr:0,100,'utf8'}...</a>
						</div>
						<div class="tr p10 bbe"><a href="" class="gray">{$com.nickname}</a> 评论于 {$com.addtime|date_before}</div>
					</div>
				</comment>


			</div>

			<div class="bsd2 bde mt20 bgwhite">
				<div class="lh30 pl20 fm b rel mt10">精彩幕后 <b class="abs bgblue h30 w5 f0 l-5 t0">1</b> </div>
				<div class="p10">
					<ul>
						<hotArticle cid="15" row="10">
							<li class="a3 p5"><b class="mr5 fg blue f16">1</b><a href="{$a.urls}" class="black">{$a.title}</a></li>
						</hotArticle>
					</ul>
				</div>
			</div>


		</div>
		<!-- 右侧结束 -->
	</div>
	<!-- 内容结束 -->
	<!-- 友情链接开始 -->
	<div class="w1180 auto mt20">
		<p class="lh30">
			<span class="b gray p5">友情链接：</span>
			<link row="10">
				<a href="{$l.url}" class="gray p5">{$l.name}</a>
			</link>
		</p>
	</div>
	<!-- 友情链接结束 -->
<!-- 底部 -->
<include file="__PUBLIC__/bottom.html">
<!-- 底部结束 -->
